package lapsnake.model.stmt;

import lapsnake.model.*;
import lapsnake.model.data.*;
import lapsnake.py.ast.ASTHelperFactory; import java.beans.PropertyVetoException;

import org.python.antlr.ast.*;

/**Wrapper class with helper functions for Delete nodes*/
public class LapDelete extends LapStatement {
	
	ChildList<LapExpression> targets = new ChildList<>(this, LapExpression.class, false);
	
	public LapDelete(PyAST pyAST, ChildField<? super LapDelete> parent, Delete node) throws PropertyVetoException {
		super(pyAST, parent, node);
		
		ASTHelperFactory.makeHelpers(pyAST, targets, node.getInternalTargets());
		
		buildTextNodes(node);
	}}
